package com.medusa.aps.business.modules.basic.model.input;

import com.medusa.aps.business.model.enums.SourceEnum;
import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.modules.basic.mp.entity.Supplier;
import com.medusa.aps.business.global.model.o.RangeDate;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class SupplierParam extends Page<Supplier> {

    /**
     * 供应商编码
     */
    @Schema(description = "供应商编码")
    private String supplierCode;
    /**
     * 供应商名称
     */
    @Schema(description = "供应商名称")
    private String supplierName;

    /**
     * 物料编码
     */
    @Schema(description = "物料编码")
    private String materialCode;

    /**
     * 物料名称
     */
    @Schema(description = "物料名称")
    private String materialName;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String creator;


    /**
     * 数据来源
     */
    @Schema(description = "数据来源")
    private SourceEnum dataSource;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private RangeDate createTime = new RangeDate();

    /**
     * 供应商id集合
     */
    @Schema(description = "供应商id集合")
    private List<Long> ids;
}
